jquery check if parent has 2 chlds

115

jquery check if parent has 2 chlds -

if ( $('#myfav').children().length > 0 ) {
     // do something
}

Comments

Submit
0 Comments